package com.platform.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 彩票购买记录实体
 * 表名 lottery_wager
 *
 * @author liweihai
 * @email liweihai12345@sina.com
 * @date 2019-05-05 14:25:58
 */
public class LotteryWagerEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //编号
    private Integer id;
    //用户编号
    private Long uid;
    //手机
    private String phone;

    private String name;

    private String imgurl;

    //数量
    private Integer num;
    //红球
    private String redBall;
    //蓝球
    private Integer blueBall;
    //花费
    private BigDecimal cost;
    //单价
    private BigDecimal price;
    //是否兑换
    private String exchange;
    //中奖级别
    private Integer level;
    //奖品名称
    private String lotteryName;
    //奖品价值
    private BigDecimal bonus;
    //期号
    private String stages;
    //创建时间
    private Date createDate;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    /**
     * 设置：编号
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：编号
     */
    public Integer getId() {
        return id;
    }
    /**
     * 设置：用户编号
     */
    public void setUid(Long uid) {
        this.uid = uid;
    }

    /**
     * 获取：用户编号
     */
    public Long getUid() {
        return uid;
    }
    /**
     * 设置：手机
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取：手机
     */
    public String getPhone() {
        return phone;
    }
    /**
     * 设置：数量
     */
    public void setNum(Integer num) {
        this.num = num;
    }

    /**
     * 获取：数量
     */
    public Integer getNum() {
        return num;
    }
    /**
     * 设置：红球
     */
    public void setRedBall(String redBall) {
        this.redBall = redBall;
    }

    /**
     * 获取：红球
     */
    public String getRedBall() {
        return redBall;
    }
    /**
     * 设置：蓝球
     */
    public void setBlueBall(Integer blueBall) {
        this.blueBall = blueBall;
    }

    /**
     * 获取：蓝球
     */
    public Integer getBlueBall() {
        return blueBall;
    }
    /**
     * 设置：花费
     */
    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    /**
     * 获取：花费
     */
    public BigDecimal getCost() {
        return cost;
    }
    /**
     * 设置：单价
     */
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * 获取：单价
     */
    public BigDecimal getPrice() {
        return price;
    }
    /**
     * 设置：是否兑换
     */
    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    /**
     * 获取：是否兑换
     */
    public String getExchange() {
        return exchange;
    }
    /**
     * 设置：中奖级别
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * 获取：中奖级别
     */
    public Integer getLevel() {
        return level;
    }
    /**
     * 设置：奖品名称
     */
    public void setLotteryName(String lotteryName) {
        this.lotteryName = lotteryName;
    }

    /**
     * 获取：奖品名称
     */
    public String getLotteryName() {
        return lotteryName;
    }
    /**
     * 设置：奖品价值
     */
    public void setBonus(BigDecimal bonus) {
        this.bonus = bonus;
    }

    /**
     * 获取：奖品价值
     */
    public BigDecimal getBonus() {
        return bonus;
    }
    /**
     * 设置：期号
     */
    public void setStages(String stages) {
        this.stages = stages;
    }

    /**
     * 获取：期号
     */
    public String getStages() {
        return stages;
    }
    /**
     * 设置：创建时间
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取：创建时间
     */
    public Date getCreateDate() {
        return createDate;
    }
}
